<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script>
			var a, i, n, m;
			for(i=100 ; i<1000; i++)
			{
				a = parseInt(i/100);
				n = parseInt((i/10)%10);
				m = parseInt(i%10);
				if (i==a*a*a+n*n*n+m*m*m)
				console.log(i);
			}
		</script>
	</head>
	<body>
	</body>
</html>
